package com.clinic.entity.type;

public enum UserType {
		
	DOCTOR, ASSISTANT, PATIENT;
	
	public static UserType getValue(String value) {
		for(UserType u : UserType.values()) {
			if(u.toString().equalsIgnoreCase(value)) {
				return u;
			}
		}
		return null;
	}
}
